﻿using MediatR;
using MyMES.Domain.zmc;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.Incominginformations
{
    public class AddArrivalnoticeCommands:IRequest<APIResult<Arrivalnotice>>
    {
        public int NoticeId { get; set; }

        /// <summary>
        /// 到货通知单编号
        /// </summary>
        public string NoticeNo { get; set; }

        /// <summary>
        /// 采购到货通知单名称
        /// </summary>
        public string NoticeName { get; set; }

        /// <summary>
        /// 采购订单编号--外键
        /// </summary>
        public int StoragePurchaseId { get; set; }


        /// <summary>
        /// 供应商  外键
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime Deliverydate { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }
        /// <summary>
        /// 联系发式
        /// </summary>
        public string Contactway { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Contactremark { get; set; }

        /// <summary>
        ///到货数量
        /// </summary>
        public int NoticeNumber { get; set; }

        /// <summary>
        /// 是否检验
        /// </summary>
        public bool IsInspecs { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        public int QualifiedNum { get; set; }

        /// <summary>
        /// 检验单号
        /// </summary>
        public string InspecNumber { get; set; }

        /// <summary>
        /// 物料产品管理
        /// </summary>
        public int MId { get; set; }
    }
}
